home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / H-I / HyperAid•Demo.sea / •HyperAid• Demo / background_4658.xml < prev    next >
Extensible Markup Language  |  1991-10-19  |  23KB  |  388 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>4658</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_5091.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_3223.css" />
  11.     <part>
  12.         <id>15</id>
  13.         <type>button</type>
  14.         <visible> <true /> </visible>
  15.         <reserved5> 0 </reserved5>
  16.         <reserved4> 0 </reserved4>
  17.         <reserved3> 0 </reserved3>
  18.         <reserved2> 0 </reserved2>
  19.         <reserved1> 0 </reserved1>
  20.         <enabled> <true /> </enabled>
  21.         <rect>
  22.             <left>452</left>
  23.             <top>113</top>
  24.             <right>479</right>
  25.             <bottom>144</bottom>
  26.         </rect>
  27.         <style>transparent</style>
  28.         <showName> <false /> </showName>
  29.         <highlight> <false /> </highlight>
  30.         <autoHighlight> <false /> </autoHighlight>
  31.         <sharedHighlight> <true /> </sharedHighlight>
  32.         <family>0</family>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>14082</icon>
  35.         <textAlign>center</textAlign>
  36.         <font>Chicago</font>
  37.         <textSize>12</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <name>Emblem</name>
  40.         <script>on mouseUpif there is a window "‚Ä¢HA‚Ä¢ Emblem" thenclose window "‚Ä¢HA‚Ä¢ Emblem"elsepicture "‚Ä¢HA‚Ä¢ Emblem",resource,dialog,falseif the stacks <> empty then show window "‚Ä¢HA‚Ä¢ Emblem" at (right of the cd window - left of the cd window - the pictureWidth of window "‚Ä¢HA‚Ä¢ Emblem") div 2 ,(bottom of the cd window - top of the cd window - the pictureHeight of window "‚Ä¢HA‚Ä¢ Emblem") div 2show window "‚Ä¢HA‚Ä¢ Emblem"wait until the mouseClickhide window "‚Ä¢HA‚Ä¢ Emblem"set scale of window "‚Ä¢HA‚Ä¢ Emblem" to 1set globalRect of window "‚Ä¢HA‚Ä¢ Emblem" to "0,0,492,263"get (item 3 of the screenRect - 492) div 2 &return&(item 4 of the screenRect - 263) div 2set globalLoc of window "‚Ä¢HA‚Ä¢ Emblem" to line 1 of it &","& line 2 of itset scroll of window "‚Ä¢HA‚Ä¢ Emblem" to "48,10"show window "‚Ä¢HA‚Ä¢ Emblem"end ifend mouseUp</script>
  41.     </part>
  42.     <part>
  43.         <id>2</id>
  44.         <type>button</type>
  45.         <visible> <true /> </visible>
  46.         <reserved5> 0 </reserved5>
  47.         <reserved4> 0 </reserved4>
  48.         <reserved3> 0 </reserved3>
  49.         <reserved2> 0 </reserved2>
  50.         <reserved1> 0 </reserved1>
  51.         <enabled> <true /> </enabled>
  52.         <rect>
  53.             <left>275</left>
  54.             <top>118</top>
  55.             <right>358</right>
  56.             <bottom>139</bottom>
  57.         </rect>
  58.         <style>transparent</style>
  59.         <showName> <true /> </showName>
  60.         <highlight> <false /> </highlight>
  61.         <autoHighlight> <false /> </autoHighlight>
  62.         <sharedHighlight> <true /> </sharedHighlight>
  63.         <family>0</family>
  64.         <titleWidth>0</titleWidth>
  65.         <icon>0</icon>
  66.         <textAlign>center</textAlign>
  67.         <font>Geneva</font>
  68.         <textSize>10</textSize>
  69.         <textStyle>underline</textStyle>
  70.         <name>HA menus</name>
  71.         <script>on mouseUpset hilite of target to not hilite of targetif hilite of target = true thenglobal pucput HARF ("‚Ä¢HyperAid‚Ä¢ popups") into pucmakeHAMenuelseif there is a menu "‚Ä¢" then delete menu "‚Ä¢"if there is a menu "‚åò" then delete menu "‚åò"end ifend mouseUp</script>
  72.     </part>
  73.     <part>
  74.         <id>6</id>
  75.         <type>button</type>
  76.         <visible> <true /> </visible>
  77.         <reserved5> 0 </reserved5>
  78.         <reserved4> 0 </reserved4>
  79.         <reserved3> 0 </reserved3>
  80.         <reserved2> 0 </reserved2>
  81.         <reserved1> 0 </reserved1>
  82.         <enabled> <true /> </enabled>
  83.         <rect>
  84.             <left>95</left>
  85.             <top>118</top>
  86.             <right>178</right>
  87.             <bottom>139</bottom>
  88.         </rect>
  89.         <style>transparent</style>
  90.         <showName> <true /> </showName>
  91.         <highlight> <false /> </highlight>
  92.         <autoHighlight> <false /> </autoHighlight>
  93.         <sharedHighlight> <true /> </sharedHighlight>
  94.         <family>0</family>
  95.         <titleWidth>0</titleWidth>
  96.         <icon>0</icon>
  97.         <textAlign>center</textAlign>
  98.         <font>Geneva</font>
  99.         <textSize>10</textSize>
  100.         <textStyle>underline</textStyle>
  101.         <name>Use HyperAid</name>
  102.         <script>on mouseUpflashRect rect of target,4set cursor to 4lock screenset hilite of target to not hilite of targetif hilite of target = true thenstartUsingWhoAsWelluseHaelsepicture "‚Ä¢HA‚Ä¢ Emblem",resource,dialog,falseif the stacks <> empty then show window "‚Ä¢HA‚Ä¢ Emblem" at (right of the cd window - left of the cd window - the pictureWidth of window "‚Ä¢HA‚Ä¢ Emblem") div 2 ,(bottom of the cd window - top of the cd window - the pictureHeight of window "‚Ä¢HA‚Ä¢ Emblem") div 2show window "‚Ä¢HA‚Ä¢ Emblem"stop using stack "‚Ä¢HyperAid‚Ä¢ Demo"if there is a menu "‚Ä¢" then delete menu "‚Ä¢"if there is a menu "‚åò" then delete menu "‚åò"set hilite of bg btn ID 2 to falsehide bg btn ID 8unlock screenglobal pucif last char of puc=return then delete last char of pucif puc <> "" and puc <> HARF("‚Ä¢HyperAid‚Ä¢ popups") thenanswer "Save changes to today‚Äôs popup commands?" with "Yes" or "No"if it = "Yes" then HAWF "‚Ä¢HyperAid‚Ä¢ Popups",pucend ifclose window "‚Ä¢HA‚Ä¢ Emblem"stopUsingWhoAsWellend ifend mouseUpon startUsingWhoAsWellanswer "‚ÄúStart using‚Äù stack ‚ÄúPower Tools‚Äù prior to HyperAid?"&return&return&"(You must ‚Äústart using‚Äù Power Tools prior to HyperAid if you wish to use its palettes from HyperAid‚Äôs menu!)" with "Power Tools" or "No"if it="Power Tools" then start using stack "Power Tools"end startUsingWhoAsWellon stopUsingWhoAsWellif ":Power Tools" is in the stacksInUse thenanswer "‚ÄúStop using‚Äù stack ‚ÄúPower Tools‚Äù also?" "No" or "Yes"if it="Yes" then stop using stack "Power Tools"end ifend stopUsingWhoAsWell</script>
  103.     </part>
  104.     <part>
  105.         <id>8</id>
  106.         <type>button</type>
  107.         <visible> <false /> </visible>
  108.         <reserved5> 0 </reserved5>
  109.         <reserved4> 0 </reserved4>
  110.         <reserved3> 0 </reserved3>
  111.         <reserved2> 0 </reserved2>
  112.         <reserved1> 0 </reserved1>
  113.         <enabled> <true /> </enabled>
  114.         <rect>
  115.             <left>452</left>
  116.             <top>113</top>
  117.             <right>479</right>
  118.             <bottom>144</bottom>
  119.         </rect>
  120.         <style>transparent</style>
  121.         <showName> <false /> </showName>
  122.         <highlight> <false /> </highlight>
  123.         <autoHighlight> <false /> </autoHighlight>
  124.         <sharedHighlight> <true /> </sharedHighlight>
  125.         <family>0</family>
  126.         <titleWidth>0</titleWidth>
  127.         <icon>31885</icon>
  128.         <textAlign>center</textAlign>
  129.         <font>Chicago</font>
  130.         <textSize>12</textSize>
  131.         <textStyle>plain</textStyle>
  132.         <name>Open window</name>
  133.         <script>on mouseUpHAwndsend mouseUp</script>
  134.     </part>
  135.     <part>
  136.         <id>10</id>
  137.         <type>button</type>
  138.         <visible> <true /> </visible>
  139.         <reserved5> 0 </reserved5>
  140.         <reserved4> 0 </reserved4>
  141.         <reserved3> 0 </reserved3>
  142.         <reserved2> 0 </reserved2>
  143.         <reserved1> 0 </reserved1>
  144.         <enabled> <true /> </enabled>
  145.         <rect>
  146.             <left>365</left>
  147.             <top>129</top>
  148.             <right>448</right>
  149.             <bottom>139</bottom>
  150.         </rect>
  151.         <style>rectangle</style>
  152.         <showName> <true /> </showName>
  153.         <highlight> <false /> </highlight>
  154.         <autoHighlight> <true /> </autoHighlight>
  155.         <sharedHighlight> <true /> </sharedHighlight>
  156.         <family>0</family>
  157.         <titleWidth>0</titleWidth>
  158.         <icon>0</icon>
  159.         <textAlign>center</textAlign>
  160.         <font>Geneva</font>
  161.         <textSize>9</textSize>
  162.         <textStyle>plain</textStyle>
  163.         <name>Save text/list</name>
  164.         <script>on mouseUpsaveListend mouseUp</script>
  165.     </part>
  166.     <part>
  167.         <id>11</id>
  168.         <type>field</type>
  169.         <visible> <true /> </visible>
  170.         <dontWrap> <false /> </dontWrap>
  171.         <dontSearch> <false /> </dontSearch>
  172.         <sharedText> <false /> </sharedText>
  173.         <fixedLineHeight> <false /> </fixedLineHeight>
  174.         <autoTab> <false /> </autoTab>
  175.         <lockText> <false /> </lockText>
  176.         <rect>
  177.             <left>0</left>
  178.             <top>14</top>
  179.             <right>480</right>
  180.             <bottom>112</bottom>
  181.         </rect>
  182.         <style>scrolling</style>
  183.         <autoSelect> <false /> </autoSelect>
  184.         <showLines> <false /> </showLines>
  185.         <wideMargins> <false /> </wideMargins>
  186.         <multipleLines> <false /> </multipleLines>
  187.         <reservedFamily> 0 </reservedFamily>
  188.         <titleWidth>0</titleWidth>
  189.         <icon>0</icon>
  190.         <textAlign>left</textAlign>
  191.         <font>New York</font>
  192.         <textSize>12</textSize>
  193.         <textStyle>plain</textStyle>
  194.         <textHeight>16</textHeight>
  195.         <name></name>
  196.         <script>on mouseUpselect the clickLineend mouseUp</script>
  197.     </part>
  198.     <part>
  199.         <id>14</id>
  200.         <type>button</type>
  201.         <visible> <true /> </visible>
  202.         <reserved5> 0 </reserved5>
  203.         <reserved4> 0 </reserved4>
  204.         <reserved3> 0 </reserved3>
  205.         <reserved2> 0 </reserved2>
  206.         <reserved1> 0 </reserved1>
  207.         <enabled> <true /> </enabled>
  208.         <rect>
  209.             <left>185</left>
  210.             <top>118</top>
  211.             <right>268</right>
  212.             <bottom>139</bottom>
  213.         </rect>
  214.         <style>transparent</style>
  215.         <showName> <true /> </showName>
  216.         <highlight> <false /> </highlight>
  217.         <autoHighlight> <false /> </autoHighlight>
  218.         <sharedHighlight> <true /> </sharedHighlight>
  219.         <family>0</family>
  220.         <titleWidth>0</titleWidth>
  221.         <icon>0</icon>
  222.         <textAlign>center</textAlign>
  223.         <font>Geneva</font>
  224.         <textSize>10</textSize>
  225.         <textStyle>underline</textStyle>
  226.         <name>Click-select</name>
  227.         <script>on mouseUpif hilite of target = falsethen clickALineelse clickOffend mouseUp</script>
  228.     </part>
  229.     <part>
  230.         <id>16</id>
  231.         <type>button</type>
  232.         <visible> <true /> </visible>
  233.         <reserved5> 0 </reserved5>
  234.         <reserved4> 0 </reserved4>
  235.         <reserved3> 0 </reserved3>
  236.         <reserved2> 0 </reserved2>
  237.         <reserved1> 0 </reserved1>
  238.         <enabled> <true /> </enabled>
  239.         <rect>
  240.             <left>365</left>
  241.             <top>118</top>
  242.             <right>448</right>
  243.             <bottom>128</bottom>
  244.         </rect>
  245.         <style>rectangle</style>
  246.         <showName> <true /> </showName>
  247.         <highlight> <false /> </highlight>
  248.         <autoHighlight> <true /> </autoHighlight>
  249.         <sharedHighlight> <true /> </sharedHighlight>
  250.         <family>0</family>
  251.         <titleWidth>0</titleWidth>
  252.         <icon>0</icon>
  253.         <textAlign>center</textAlign>
  254.         <font>Geneva</font>
  255.         <textSize>9</textSize>
  256.         <textStyle>plain</textStyle>
  257.         <name>Load (as) text</name>
  258.         <script>on mouseUpif fld 1 <>"" then newrecglobal TGlbanswer file "Load as TEXT:"if it=empty then exit mouseUpput msg into LMput empty into TGlbput it into xopen file xrepeat until it = emptyread from file x for 40000000put it after TGlbput "bytes: " & length of TGlbend repeatclose file xHArep xput " --"&& LM after msgend mouseUp</script>
  259.     </part>
  260.     <part>
  261.         <id>17</id>
  262.         <type>button</type>
  263.         <visible> <true /> </visible>
  264.         <reserved5> 0 </reserved5>
  265.         <reserved4> 0 </reserved4>
  266.         <reserved3> 0 </reserved3>
  267.         <reserved2> 0 </reserved2>
  268.         <reserved1> 0 </reserved1>
  269.         <enabled> <true /> </enabled>
  270.         <rect>
  271.             <left>5</left>
  272.             <top>118</top>
  273.             <right>88</right>
  274.             <bottom>139</bottom>
  275.         </rect>
  276.         <style>transparent</style>
  277.         <showName> <true /> </showName>
  278.         <highlight> <false /> </highlight>
  279.         <autoHighlight> <true /> </autoHighlight>
  280.         <sharedHighlight> <true /> </sharedHighlight>
  281.         <family>0</family>
  282.         <titleWidth>0</titleWidth>
  283.         <icon>0</icon>
  284.         <textAlign>center</textAlign>
  285.         <font>Geneva</font>
  286.         <textSize>10</textSize>
  287.         <textStyle>underline</textStyle>
  288.         <name>About</name>
  289.         <script>on mouseUpvisual shrink to center to grayvisual stretch from centergo to last cdend mouseUp</script>
  290.     </part>
  291.     <part>
  292.         <id>18</id>
  293.         <type>field</type>
  294.         <visible> <true /> </visible>
  295.         <dontWrap> <true /> </dontWrap>
  296.         <dontSearch> <true /> </dontSearch>
  297.         <sharedText> <false /> </sharedText>
  298.         <fixedLineHeight> <true /> </fixedLineHeight>
  299.         <autoTab> <false /> </autoTab>
  300.         <lockText> <true /> </lockText>
  301.         <rect>
  302.             <left>0</left>
  303.             <top>1</top>
  304.             <right>480</right>
  305.             <bottom>15</bottom>
  306.         </rect>
  307.         <style>transparent</style>
  308.         <autoSelect> <false /> </autoSelect>
  309.         <showLines> <false /> </showLines>
  310.         <wideMargins> <false /> </wideMargins>
  311.         <multipleLines> <false /> </multipleLines>
  312.         <reservedFamily> 0 </reservedFamily>
  313.         <titleWidth>0</titleWidth>
  314.         <icon>0</icon>
  315.         <textAlign>center</textAlign>
  316.         <font>Chicago</font>
  317.         <textSize>12</textSize>
  318.         <textStyle>plain</textStyle>
  319.         <textHeight>12</textHeight>
  320.         <name>title</name>
  321.         <script></script>
  322.     </part>
  323.     <part>
  324.         <id>1</id>
  325.         <type>button</type>
  326.         <visible> <true /> </visible>
  327.         <reserved5> 0 </reserved5>
  328.         <reserved4> 0 </reserved4>
  329.         <reserved3> 0 </reserved3>
  330.         <reserved2> 0 </reserved2>
  331.         <reserved1> 0 </reserved1>
  332.         <enabled> <true /> </enabled>
  333.         <rect>
  334.             <left>0</left>
  335.             <top>0</top>
  336.             <right>480</right>
  337.             <bottom>15</bottom>
  338.         </rect>
  339.         <style>transparent</style>
  340.         <showName> <true /> </showName>
  341.         <highlight> <true /> </highlight>
  342.         <autoHighlight> <false /> </autoHighlight>
  343.         <sharedHighlight> <true /> </sharedHighlight>
  344.         <family>0</family>
  345.         <titleWidth>0</titleWidth>
  346.         <icon>0</icon>
  347.         <textAlign>center</textAlign>
  348.         <font>Chicago</font>
  349.         <textSize>12</textSize>
  350.         <textStyle>plain</textStyle>
  351.         <name></name>
  352.         <script>on mouseUpanswer "Clear current listing?" with "No" or "Yes"if it="No" then exit mouseUpput "" into CLget fld 2if number of cds >2 thenrepeat with x = 1 to number of cds - 2if fld 2 of cd x = it then put x&return after CLend repeatif number of lines of CL>1 thenanswer "Clear this field, only? Or clear all "&number of lines of CL&" fields titled ‚Äú"&fld 2&"‚Äù?" with "Only this" or "All fields"if it= "Only this" then put number of this cd into CLend ifend ifif CL="" then put number of this cd into CLrepeat with x = 1 to (number of lines of CL)put empty into fld 1 of cd (line x of CL)put empty into fld 2 of cd (line x of CL)end repeatend mouseUp</script>
  353.     </part>
  354.     <part>
  355.         <id>12</id>
  356.         <type>button</type>
  357.         <visible> <true /> </visible>
  358.         <reserved5> 0 </reserved5>
  359.         <reserved4> 0 </reserved4>
  360.         <reserved3> 0 </reserved3>
  361.         <reserved2> 0 </reserved2>
  362.         <reserved1> 0 </reserved1>
  363.         <enabled> <true /> </enabled>
  364.         <rect>
  365.             <left>464</left>
  366.             <top>1</top>
  367.             <right>478</right>
  368.             <bottom>13</bottom>
  369.         </rect>
  370.         <style>rectangle</style>
  371.         <showName> <true /> </showName>
  372.         <highlight> <false /> </highlight>
  373.         <autoHighlight> <false /> </autoHighlight>
  374.         <sharedHighlight> <false /> </sharedHighlight>
  375.         <family>0</family>
  376.         <titleWidth>0</titleWidth>
  377.         <icon>0</icon>
  378.         <textAlign>center</textAlign>
  379.         <font>Geneva</font>
  380.         <textSize>9</textSize>
  381.         <textStyle>plain</textStyle>
  382.         <name>1</name>
  383.         <script>on mouseUprepeat with x=1 to 20set name of target to xend repeatend mouseUp</script>
  384.     </part>
  385.     <name>‚Ä¢HyperAid‚Ä¢ bg 1</name>
  386.     <script>on openStackif short name of this stack is in the stacksInUse and not (hilite of bg btn ID 6) then affirmPresenceHAif not (short name of this stack is in the stacksInUse) and hilite of bg btn ID 6 then affirmAbsenceHApass openStackend openStackon resumeStackif short name of this stack is in the stacksInUse and not (hilite of bg btn ID 6) then affirmPresenceHAif not (short name of this stack is in the stacksInUse) and hilite of bg btn ID 6 then affirmAbsenceHApass resumeStackend resumeStackon openCardset name of bg btn id 12 to number of this cdend openCardon arrowKey xif the selectedField = empty thenif x="right" and number of this cd = number of cds - 2 then exit arrowKeyif x="left" and number of this cd = 1 then exit arrowKeyend ifpass arrowKeyend arrowKeyon doMenu xif not(x="Delete Card" and number of this cd = number of last cd of this bg) then pass doMenuend doMenuon deleteCardif number of this cd = number of last cd of this bg then type "z" with cmdKeyend deleteCardon closeFieldif sfn= "Popups" or sfn= "To Do" thenif (sfn= "Popups" and fld 1 <> puc) or (sfn= "To Do" and fld 1 <> HARF("‚Ä¢HyperAid‚Ä¢ To Do")) then saveListend ifpass closeFieldend closeFieldon saveListget fld 2put "" into CLif number of cds >2 thenrepeat with x = 1 to number of cds - 2if fld 2 of cd x = it then put x&return after CLend repeatif number of lines of CL>1 thenanswer "Save this field, only? Or save all "&number of lines of CL&" fields titled ‚Äú"&fld 2&"‚Äù as one file?" with "Only this" or "All fields"if it= "Only this" then put number of this cd into CLend ifend ifget fld 2if it= "Popups" then  get "‚Ä¢HyperAid‚Ä¢ Popups"if it= "To Do" then  get "‚Ä¢HyperAid‚Ä¢ To Do"if the optionKey is down then get fld 2if it="" then get "HyperAid list file"put HAstripPath (it) into sfnask file "Save as:" with sfnset cursor to 4if it="" then exit saveListput it into tnget HAstripPath (it)put "" into trepeat with x = 1 to number of lines of CLput fld 1 of cd (line x of CL) after tend repeatif it= "‚Ä¢HyperAid‚Ä¢ Popups" thenglobal pucif last line of t <>"" then put return after tput t into pucif there is a menu "‚åò" then put puc into menu "‚åò"wait 0end ifif it="‚Ä¢HyperAid‚Ä¢ To Do" then put "‚Ä¢HyperAid‚Ä¢ To Do list from " &the long date &", time: "& the time into line 1 to 2 of tHAWF tn,tif it<>"‚Ä¢HyperAid‚Ä¢ To Do" and it<> "‚Ä¢HyperAid‚Ä¢ Popups" thenrepeat with x = 1 to number of lines of CLput it into fld 2 of cd (line x of CL)end repeatend ifif it="‚Ä¢HyperAid‚Ä¢ To Do" thenglobal TGlbput t into TGlbcheckToDoTodayend ifend saveList‚Ä¢‚Ä¢‚Ä¢‚Ä¢‚Ä¢‚Ä¢‚Ä¢‚Ä¢‚Ä¢‚Ä¢‚Ä¢‚Ä¢‚Ä¢‚Ä¢‚Ä¢on clickOffset lockText of fld 1 to falseset hilite of bg btn ID 14 to falseend clickOffon clickALineset hilite of bg btn ID 14 to trueset lockText of fld 1 to trueend clickALineon mouseUpInPicture xif x="‚Ä¢HA‚Ä¢ Emblem" then close window "‚Ä¢HA‚Ä¢ Emblem"end mouseUpInPictureon useHapicture "‚Ä¢HA‚Ä¢ Emblem",resource,dialog,falseif the stacks <> empty then show window "‚Ä¢HA‚Ä¢ Emblem" at (right of the cd window - left of the cd window - the pictureWidth of window "‚Ä¢HA‚Ä¢ Emblem") div 2 ,(bottom of the cd window - top of the cd window - the pictureHeight of window "‚Ä¢HA‚Ä¢ Emblem") div 2show window "‚Ä¢HA‚Ä¢ Emblem"HApl "Flute","cw.3 gw.3 cq eq fq gq aq a#q aw.3","tempo 340"start using stack "‚Ä¢HyperAid‚Ä¢ Demo"global pucput HARF ("‚Ä¢HyperAid‚Ä¢ popups") into pucif last line of puc <>"" then put return after pucstmn 1makeHAMenuset hilite of bg btn ID 2 to trueshow bg btn ID 8unlock screenhide window "‚Ä¢HA‚Ä¢ Emblem"set scale of window "‚Ä¢HA‚Ä¢ Emblem" to 1set globalRect of window "‚Ä¢HA‚Ä¢ Emblem" to "0,0,492,263"get (item 3 of the screenRect - 492) div 2 &return&(item 4 of the screenRect - 263) div 2set globalLoc of window "‚Ä¢HA‚Ä¢ Emblem" to line 1 of it &","& line 2 of itset scroll of window "‚Ä¢HA‚Ä¢ Emblem" to "48,10"show window "‚Ä¢HA‚Ä¢ Emblem"checkToDoclose window "‚Ä¢HA‚Ä¢ Emblem"end useHaon makeHAMenuset the cursor to watchif there is no menu "‚Ä¢" then create menu "‚Ä¢"else exit to hyperCardput "About HyperAid" & return & "Info" & return & "Popups" & return & "Reminders" & return & "Style Editor" & return & "The Windows" & return & "HyperAid‚Ä¢Window" & return into theMenuput "-" & return & "Save Text" & return & "Send Text" & return & "Sort Text" & return after theMenuput "-" & return & "Navigator" & return & "Window Mgr." & return & "Super Grouper" & return after theMenuput "-" & return & "Search" & return & "Analyse Card" & return & "Create Card" & return & "Pick Card" & return after theMenuput "-" & return & "Delete" & return & "Duplicate/Shift" & return & "Edit Script" & return & "Hilite" & return & "Select" & return after theMenuput "Show/Hide" & return & "Style Objects" & return & "Style Text" & return & "Verbal cmd" after theMenuput theMenu into menu "‚Ä¢"set textStyle of menuItem 13 of menu "‚Ä¢" to "outline"set textStyle of menuItem 14 of menu "‚Ä¢" to "outline"set textStyle of menuItem 15 of menu "‚Ä¢" to "outline"global pucif there is no menu "‚åò" then create menu "‚åò"put puc into menu "‚åò"end makeHAMenuon Popupsglobal pucset cursor to 4if fld 1 <>"" then newrecput "Popups" into fld 2put puc into fld 1clickALineend Popupson newrecanswer "Overwrite this field?" with "New Card" or "Overwrite"if it="New Card" then type "n" with cmdKeyend newrecon wndlput "Windows" into fld 2end wndlon HArep xglobal TGlbif x<>"" then put x into fld 2else put fld 2 into xif length of TGlb < 29998then put TGlb into fld 1else put char 1 to 20000 of TGlb into fld 1play "Boing" a5if length of TGlb < 29998 then exit HAreprepeat with c=1 to (length of TGlb div 20000)type "n" with cmdKeyput x into fld 2put char (c*20000+1) to ((c+1)*20000) of TGlb into fld 1play "Boing" a5end repeatend HArepon closeStackif not (fullpath() is in the stacksInUse) thenif there is a menu "‚åò" then delete menu "‚åò"if there is a menu "‚Ä¢" then delete menu "‚Ä¢"if there is a menu "¬´¬ª" then delete menu "¬´¬ª"set hilite of bg btn ID 2 to falseend ifpass closeStackend closeStackon suspendStackif not (fullpath() is in the stacksInUse) thenif there is a menu "‚åò" then delete menu "‚åò"if there is a menu "‚Ä¢" then delete menu "‚Ä¢"if there is a menu "¬´¬ª" then delete menu "¬´¬ª"set hilite of bg btn ID 2 to falseend ifpass suspendStackend suspendStackfunction fullpath itif it="" then get "this stack"else get "stack "&quote&it&quotereturn char 8 to (length of long name of it)-1 of long name of itend fullpathon affirmPresenceHAlock screenset hilite of bg btn ID 6 to trueif there is a menu "‚Ä¢" then set hilite of bg btn ID 2 to trueshow bg btn ID 8unlock screen with dissolveend affirmPresenceHAon affirmAbsenceHAlock screenif there is a menu "‚Ä¢" then delete menu "‚Ä¢"if there is a menu "‚åò" then delete menu "‚åò"set hilite of bg btn ID 6 to falseset hilite of bg btn ID 2 to falsehide bg btn ID 8unlock screen with dissolveend affirmAbsenceHAon deleteCardif number of cds of this bg > 1 then exit deleteCardtype "z" with cmdKeygo to prev cdanswer "HyperAid Protest:  Won‚Äôt delete last remaining card of this my background!"end deleteCardon quitHAput the stacksInUse into SLrepeat with x= number of lines of SL down to 1if the freesize of stack line x of SL >0 thenput short name of stack line x of SL into SNif SN <> "‚Ä¢HyperAid‚Ä¢ Demo" thenget line x of SLstop using stack itif there is a window SN then show window SNelse go to stack it in a new windowput "HyperAid: Compacting stack formerly ‚Äúin use‚Äù: "& SNput cantModify of this stack into cmset cantModify of this stack to falsesend "doMenu Compact Stack" to hypercardset cantModify of this stack to cmend ifend ifend repeatput "HyperAid: Resetting/Compacting myself"HAwindgo to cd 1put "" into fld 2put empty into fld 1clickOffset hilite of bg btn ID 6 to falseset hilite of bg btn ID 2 to falsehide bg btn ID 8stop using this stackif the freeSize of this stack >0 thenput cantModify of this stack into cmset cantModify of this stack to falsedoMenu Compact Stackset cantModify of this stack to cmend ifend quitHA</script>
  387. </background>
  388.